from enum import Enum
import logging

import py_global

logger = logging.getLogger(__name__)


class StrEnum(Enum):
    STR1 = 'str1'
    STR2 = 'str2'


def func(str_enum: StrEnum):
    logger.info(str_enum.value)


if __name__ == '__main__':
    func(StrEnum.STR1)

